//
//  ZTLinkage.h
//  YSSmartHome
//
//  Created by Yahaong on 16/9/6.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "ZTStatus.h"
#import <XAISDK/XAILinkItemDes.h>
typedef uint8_t LinkageNum;


typedef NS_ENUM(uint8_t, ZTLinkageStatus)
{
    ZTLinkageStatus_Del = 0,
    ZTLinkageStatus_Active = 1,
    ZTLinkageStatus_DisActive = 2,
};

@interface ZTLinkage : ZTStatus
@property (nonatomic, assign) XAITYPEAPSN gatewayApsn;
@property (nonatomic,assign) LinkageNum num;
@property (nonatomic,assign) ZTLinkageStatus status;
@property (nonatomic, copy)  NSString* name;
@property (nonatomic, copy)  NSString* formula;
@property (nonatomic, strong) NSMutableArray* actionInfos;
@property (nonatomic, strong) NSMutableArray* condInfos;

@end
